3.31.66 \(\int \frac {(a+b x)^m (c+d x)^{-m}}{(e+f x)^2} \, dx\) [3066]

Optimal. Leaf size=83 \[ \frac {(b c-a d) (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (2,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(b e-a f)^2 (1+m)} \]

[Out]

(-a*d+b*c)*(b*x+a)^(1+m)*(d*x+c)^(-1-m)*hypergeom([2, 1+m],[2+m],(-c*f+d*e)*(b*x+a)/(-a*f+b*e)/(d*x+c))/(-a*f+
b*e)^2/(1+m)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {133} \begin {gather*} \frac {(b c-a d) (a+b x)^{m+1} (c+d x)^{-m-1} \, _2F_1\left (2,m+1;m+2;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(m+1) (b e-a f)^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x)^m/((c + d*x)^m*(e + f*x)^2),x]

[Out]

((b*c - a*d)*(a + b*x)^(1 + m)*(c + d*x)^(-1 - m)*Hypergeometric2F1[2, 1 + m, 2 + m, ((d*e - c*f)*(a + b*x))/(
(b*e - a*f)*(c + d*x))])/((b*e - a*f)^2*(1 + m))

Rule 133

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Simp[(b*c - a
*d)^n*((a + b*x)^(m + 1)/((m + 1)*(b*e - a*f)^(n + 1)*(e + f*x)^(m + 1)))*Hypergeometric2F1[m + 1, -n, m + 2,
(-(d*e - c*f))*((a + b*x)/((b*c - a*d)*(e + f*x)))], x] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && EqQ[m + n + p
 + 2, 0] && ILtQ[n, 0] && (SumSimplerQ[m, 1] ||  !SumSimplerQ[p, 1]) &&  !ILtQ[m, 0]

Rubi steps

\begin {align*} \int \frac {(a+b x)^m (c+d x)^{-m}}{(e+f x)^2} \, dx &=\frac {(b c-a d) (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (2,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(b e-a f)^2 (1+m)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.07, size = 83, normalized size = 1.00 \begin {gather*} \frac {(b c-a d) (a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (2,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(b e-a f)^2 (1+m)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x)^m/((c + d*x)^m*(e + f*x)^2),x]

[Out]

((b*c - a*d)*(a + b*x)^(1 + m)*(c + d*x)^(-1 - m)*Hypergeometric2F1[2, 1 + m, 2 + m, ((d*e - c*f)*(a + b*x))/(
(b*e - a*f)*(c + d*x))])/((b*e - a*f)^2*(1 + m))

________________________________________________________________________________________

Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (b x +a \right )^{m} \left (d x +c \right )^{-m}}{\left (f x +e \right )^{2}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^m/((d*x+c)^m)/(f*x+e)^2,x)

[Out]

int((b*x+a)^m/((d*x+c)^m)/(f*x+e)^2,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m/((d*x+c)^m)/(f*x+e)^2,x, algorithm="maxima")

[Out]

integrate((b*x + a)^m/((f*x + e)^2*(d*x + c)^m), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m/((d*x+c)^m)/(f*x+e)^2,x, algorithm="fricas")

[Out]

integral((b*x + a)^m/((f^2*x^2 + 2*f*x*e + e^2)*(d*x + c)^m), x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**m/((d*x+c)**m)/(f*x+e)**2,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m/((d*x+c)^m)/(f*x+e)^2,x, algorithm="giac")

[Out]

integrate((b*x + a)^m/((f*x + e)^2*(d*x + c)^m), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^m}{{\left (e+f\,x\right )}^2\,{\left (c+d\,x\right )}^m} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x)^m/((e + f*x)^2*(c + d*x)^m),x)

[Out]

int((a + b*x)^m/((e + f*x)^2*(c + d*x)^m), x)

________________________________________________________________________________________